package com.libre.auth.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.libre.auth.entity.User;

import java.util.List;

public interface UserService  extends IService<User> {

    IPage<User> findPage(Page page, User user);

    List<User> findList(User user);

//    boolean save(User user);

    boolean addOrUpdate(User user);

}
